
#include "qe_def.h"
#include "qe_log.h"
#include "qe_initcall.h"
#include "qe_service.h"



QELOG_DOMAIN(QELOG_DOMAIN_INITCALL);



static int call_start(void)
{
	return 0;
}
QE_EXPORT(call_start, "0");

static int call_end(void)
{
    return 0;
}
QE_EXPORT(call_end, "8.end");

void qe_initcall(void)
{
	qe_initcall_t *pfn;

	qe_debug("start:%p end:%p", &__qe_initcall_call_start, 
		&__qe_initcall_call_end);

	for (pfn = &__qe_initcall_call_start; pfn<&__qe_initcall_call_end; pfn++) {
		qe_debug("call pfn:%p", pfn);
		(*pfn)();
	}
}
